<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>layui</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <link rel="stylesheet" href="/wpui-admin/wp-ewallet-admin/static/plugin/layuimini/lib/layui/css/layui.css" media="all">
    <link rel="stylesheet" href="/wpui-admin/wp-ewallet-admin/static/plugin/layuimini/css/public.css" media="all">
    <link rel="stylesheet" href="/wpui-admin/wp-ewallet-admin/static/css/wp.css" media="all">

    <style>
        .item {
            height: 50px;
            border-bottom: 1px solid #dddddd;
            line-height: 50px;
        }

        .key {
            float: left;
        }

        .value {
            float: right;
        }

        .input-block {
            margin-right: 50px;
        }

        .unit {
            position: absolute;
            right: 0px;
            top: 0px;
            right: -30px;
            line-height: 40px;
        }
    </style>
</head>
<body>
<div id="container" class="layuimini-container">
    <div class="layuimini-main">

        <h2 class="wp-module-title">充值查询详情</h2>
        <div class="wp-module-box wp-module-border">

            <div class="item">
                <div class="key">编号</div>
                <div class="value" v-text="rechargeInfo.rechargeId"></div>
            </div>

            <div class="item">
                <div class="key">充值地址</div>
                <div class="value" v-text="rechargeInfo.addressTo"></div>
            </div>

            <div class="item">
                <div class="key">充值金额</div>
                <div class="value" v-text="rechargeInfo.shqcAmount"> USDT</div>
            </div>

            <div class="item">
                <div class="key">操作人</div>
                <div class="value" v-text="rechargeInfo.operUser"></div>
            </div>

            <div class="item">
                <div class="key">操作时间</div>
                <div class="value" v-text="rechargeInfo.operTime"></div>
            </div>

        </div>

    </div>
</div>

<script src="/wpui-admin/wp-ewallet-admin/static/js/jquery-3.4.1.min.js"></script>
<script src="/wpui-admin/wp-ewallet-admin/static/plugin/layuimini/lib/layui/layui.js" charset="utf-8"></script>
<script src="/wpui-admin/wp-ewallet-admin/module/index/config.js" charset="utf-8"></script>
<script src="/wpui-admin/wp-ewallet-admin/global/wp.js" charset="utf-8"></script>
<script src="/wpui-admin/wp-ewallet-admin/static/js/vue.js" charset="utf-8"></script>
<script src="/wpui-admin/wp-ewallet-admin/static/js/vue-i18n.js" charset="utf-8"></script>
<script src="/wpui-admin/wp-ewallet-admin/global/wp-i18n.js" charset="utf-8"></script>
<script src="/wpui-admin/wp-ewallet-admin/global/wp-project.js" charset="utf-8"></script>
<script>
    layui.use(['form', 'table', 'element'], function () {
        var $ = layui.jquery,
            form = layui.form,
            element = layui.element;

        var vm = new Vue({
            el: '#container',
            i18n: wp.i18n(),
            data: {
                rechargeId:window.data.rechargeId,
                rechargeInfo:{}
            },
            mounted: function () {
                this.getRechargeInfo();
            },
            methods: {
                getRechargeInfo:function (data) {
                     var that = this;
                     that.rechargeInfo=window.data;
                    // wp.httpGet({
                    //     url:wp.url('/wp/ewallet/wallet/recharge/get'),
                    //     data:{
                    //         rechargeId:that.rechargeId,
                    //         page:1,
                    //         limit:20
                    //     },
                    //     success:function (data) {
                    //         that.rechargeInfo = data.dataBody.list[0];
                    //     }
                    // })
                }
            }

        });

    });
</script>

</body>
</html>